package test.reflect;

import java.lang.reflect.Field;

public class testGetField {

	public static void main(String[] args) {
		Date date = new Date();
		date.setDay("10th");
		date.setMonth("May");
		date.setYear("2008");
		
		Field[] fie = Date.class.getDeclaredFields();
		for(Field f:fie){
			System.out.println(f.getName());
		}
	}
}
